//
//  HomeRequest.h
//  CreditHub
//
//  Created by xinhualong on 2024/9/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HomeRequest : NSObject
+ (void)requestHomeSuccess:(SuccessBlock)successBlock
                   failure:(FailureBlock)failereBlock;
// city List
+ (void)requestCityListSuccess:(SuccessBlock)successBlock
                       failure:(FailureBlock)failereBlock;
// LoadDetails
+ (void)requestLoadDetailseId:(NSString *)lightat
                      success:(SuccessBlock)successBlock
                      failure:(FailureBlock)failereBlock;
// voucher
+ (void)requestVoucherInfoSuccess:(SuccessBlock)successBlock
                          failure:(FailureBlock)failereBlock;
+ (void)requestSaveVoucherPity:(NSString *)pity success:(SuccessBlock)successBlock
                       failure:(FailureBlock)failereBlock;
// Place an order
+ (void)requestPlaceOrderId:(NSString *)orderNo
                     amount:(NSString *)amount
                  limitDate:(NSString *)limitDate
                       type:(NSString *)type
                    success:(SuccessBlock)successBlock
                    failure:(FailureBlock)failereBlock;
// cardDetails
+ (void)requestCardInfoId:(NSString *)lightat
                  success:(SuccessBlock)successBlock
                  failure:(FailureBlock)failereBlock;

//UploadImage
+ (void)requestUploadImage:(UIImage *)image
                   spindly:(NSString *)spindly
                   awfully:(NSInteger)awfully
                   success:(SuccessBlock)successBlock
                   failure:(FailureBlock)failereBlock;

// saveInfo
+ (void)requestSaveCardInfo:(NSDictionary *)params
                    success:(SuccessBlock)successBlock
                    failure:(FailureBlock)failereBlock;
// Personal Info
+ (void)requestCerPersonalInfoId:(NSString *)lightat
                            type:(NSInteger)type
                         success:(SuccessBlock)successBlock
                         failure:(FailureBlock)failereBlock;
+ (void)requestSaveCerPersonalInfoId:(NSDictionary  *)params
                                type:(NSInteger)type
                             success:(SuccessBlock)successBlock
                             failure:(FailureBlock)failereBlock;
// contacts information
+ (void)requestCerContactslInfoId:(NSString *)lightat
                          success:(SuccessBlock)successBlock
                          failure:(FailureBlock)failereBlock;
+ (void)requestSaveCerContactslInfoId:(NSString *)lightat
                                 pity:(NSString *)pity
                              success:(SuccessBlock)successBlock
                              failure:(FailureBlock)failereBlock;

// AddressBook
+ (void)requestSaveAddressBookPity:(NSString *)pity
                           success:(SuccessBlock)successBlock
                           failure:(FailureBlock)failereBlock;
+ (void)requestHomeCanpinLightat:(NSString *)lightat
                         success:(SuccessBlock)successBlock
                         failure:(FailureBlock)failereBlock;
// center
+ (void)requestPersonalCenterSuccess:(SuccessBlock)successBlock
                             failure:(FailureBlock)failereBlock;
+ (void)requestPersonalLogoutSuccess:(SuccessBlock)successBlock
                             failure:(FailureBlock)failereBlock;
+ (void)requestAccountCancellationSuccess:(SuccessBlock)successBlock
                                  failure:(FailureBlock)failereBlock;


// upload info
+ (void)requestUploadLocation:(NSDictionary *)dicLocation
                      success:(SuccessBlock)successBlock
                      failure:(FailureBlock)failereBlock;
+ (void)requestUploadGoogleMarketSuccess:(SuccessBlock)successBlock
                                 failure:(FailureBlock)failereBlock;
+ (void)requestUploadDeviceSuccess:(SuccessBlock)successBlock
                           failure:(FailureBlock)failereBlock;
+ (void)requestUploadPointType:(NSString *)type
                       orderNo:(NSString *)orderNo
                     startTime:(NSString *)startTime
                       endTime:(NSString *)endTime success:(SuccessBlock)successBlock
                       failure:(FailureBlock)failereBlock;
+ (void)requestUploadPagePointType:(NSString *)type
                           lightat:(NSString *)lightat;
@end

NS_ASSUME_NONNULL_END
